home *** CD-ROM | disk | FTP | other *** search
- Path: gwen.pcug.co.uk!news
- From: Andy <williams@template.com>
- Newsgroups: comp.lang.c++
- Subject: Inheritance vs Templates
- Date: 4 Mar 1996 15:44:05 GMT
- Organization: The PC User Group, UK
- Message-ID: <4hf345$bnp@gwen.pcug.co.uk>
- NNTP-Posting-Host: ak132.du.pipex.com
-
- As a relative newcomer to C++(very relative) but an experienced
- OO programmer I'm having some problems seeing the place
- of Templates over the use of Polymorphism and inheritance.
-
- It seems that templates do nothing extra (except efficiency ?)
- that could not be achieved using inheritance, and it seems that
- inheritance is a more elegant approach?
-
- Am I completely missing the point? Any explanations would
- be warmly received.
-
- Please mail directly at
- andy@template.win-uk.net
-
-
- Many Thanks
-
- Andy Williams
-